package cn.jlonely.xyhx.app.service;

import cn.jlonely.xyhx.pojo.User;
import cn.jlonely.xyhx.pojo.vo.AppUserVo;
import cn.jlonely.xyhx.pojo.vo.UserVo;
import org.springframework.stereotype.Service;

@Service
public interface UseService {
    /**
     * 用户登录
     * @param userVo
     * @return
     * @throws Exception
     */
    User login(UserVo userVo) throws Exception;


    /**
     * 用户注册
     * @param user
     */
    void register(AppUserVo user) throws Exception;

    /**
     * 用户更新
     * @param appUserVo
     */
    void update(AppUserVo appUserVo);
}
